# -*- coding:utf8 -*-
__author__ = 'Forcs'

from django.shortcuts import render_to_response

from wancake import config

def index(request):
    return render_to_response(config.BASE_PATH + "res_mng_index.html", {})

def get_member_add(request, context=None):
    return render_to_response(config.BASE_PATH + "res_mng_member_add.html", context=context)

def get_group_add(request):
    return render_to_response(config.BASE_PATH + "res_mng_group_add.html", {})

def get_rule_add(request, context=None):
    return render_to_response(config.BASE_PATH + "res_mng_rule_add.html", context=context)

def get_member_edit(request, context=None):
    return render_to_response(config.BASE_PATH + "res_mng_member_edit.html", context=context)

